#ifndef COMMON_H
#define COMMON_H

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
#include <string.h>

#include <pthread.h>

#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <stdio.h>


using namespace std;

#define DEBUG_SESSION_MANAGER 1
#define DEBUG_TCP_SERVER_SESSION 1
#define DEBUG_TCP_CLIENT_SESSION 1
#define DEBUG_FILE_TRANSFER_TCP_SERVER_SESSION 1
#define DEBUG_FILE_TRANSFER_TCP_CLIENT_SESSION 1
#define DEBUG_PTHREAD_FUNCTION 1
#define DEBUG_BUFFER 1
#define DEBUG_FILE 1

#define LISTEN_SOCKET_NUMBER 5;

#define FILE_TRANSFER_BUFFER_SZIE 100000

#endif
